package com.gr.service;

import com.gr.entity.Record;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("record")
public interface FeignService {
    @GetMapping("/record-module/record/selectByStuId/{stuId}")
    List<Record> selectByStuId(@PathVariable("stuId") int stuId);
}
